package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 供应商供货单的商品
 */
@Data
@TableName("t_supply_goods")
public class SupplyGoodsEntity implements Serializable {

    @TableId(value = "pk_id", type = IdType.AUTO)
    private long id;//id

    @TableField("fk_supplyRef")
    private long supplyRef;//供货单编号

    @TableField("sg_goodsName")
    private String goodsName;//商品名

    @TableField("sg_type")
    private String type;//类型

    @TableField("sg_brand")
    private String brand;//品牌

    @TableField("sg_color")
    private String color;//颜色

    @TableField("sg_size")
    private String size;//大小

    @TableField("sg_price")
    private double price;//单价

    @TableField("sg_sum")
    private int sum;//需供货总数

    @TableField("sg_totalPrice")
    private double totalPrice;//需供货总数

}


